http://gendev.spritesmind.net/forum/viewtopic.php?t=125&postdays=0&postorder=asc&start=45


>Shiru : Posted: Mon May 07, 2007 6:51 pm

Gens KMod YM2612 voice dump (*.y12) 

Always 128 bytes long. First goes 4 blocks with operators parameters, 16 bytes each: 

+0 - D0..D3 Multiple, D4..D7 Detune 
+1 - Total Level 
+2 - D0..D4 Attack, D6..D7 Rate Scaling 
+3 - D0..D4 Decay 
+4 - D0..D4 Sustain 
+5 - D0..D3 Release, D4..D7 Release Level 

Next goes 16 bytes with algo and feedback: 

+0 - Algo 
+1 - Feedback 

And next goes 3 blocks, 16 bytes each, and each contains string with ROM filename. All unused bytes in blocks contains 0. 

Kaneda can correct me if I wrong, because I get this description just by examine of *.y12 files. 

-----------------------------
MVS Tracker MD (*.ins) 

Size can vary, usually <100 bytes. 

+0 - id 'MVSI1' (5 bytes) 
+5 - name of instrument in ASCII-Z, any length 
+N - parameters of operators, 24 bytes (see below) 
+N+24 - D0..D2 Algo, D3..D5 - Feedback 

Same operators parameters goes together, in order 1-3-2-4: 

+N: 
+0..3 - D0..D3 Multiple, D4..7 Detune (+0 for operator 1, +1 for operator 3, etc) 
+4..7 - Total Level 
+8..11 - D0..D4 Attack, D6..D7 Rate Scaling 
+12..15 - D0..D4 Decay 
+16..19 - D0..D4 Sustain 
+20..23 - D0..D3 Release, D4..D7 Release Level 

Again, Kaneda can correct me (this information from source code of old version of MVST MD). 

-----------------------------

TFM Music Maker Instruments (*.tfi): 

Always 42 bytes long, all parameters is single-byte. 

+0 - Algo 0..7 
+1 - Feedback 0..7 

Next goes operators 1-2-3-4, 10 bytes each: 

+0 - Multiple 0..15 
+1 - Detune 0..7 (0=-3,3=0,7=3) 
+2 - Total Level 0..127 
+3 - Rate Scaling 0..3 
+4 - Attack 0..31 
+5 - Decay 0..31 
+6 - Sustain 0..31 
+7 - Release 0..15 
+8 - Release Level 0..15 
+9 - Envelope Type 0..15 (<8 means SSG-EG disabled) 


Yamaha 2612 Instrument Editor (*.dat): 

Always 52 bytes long. Contains 26 byte pairs. First byte in pair is YM2612 register number, second is value for this register.

>neologix :Posted: Mon May 07, 2007 7:58 pm

many thanks for this info! next release of ymstat should now be able to dump to .y12, .tfi, and/or .dat instrument formats



Voir : http://www.neoseganet.com/util/InstrumentEditor.zip


concernant VAL SOUND 
>Shiru :
Maybe I'm wrong, but seems like instruments set which comes with MVSTracker was converted from instrument library of some synth - I saw sysex files with same names of instruments somethere. 

